package com.blockchain.wmm.core.requestBody;

import com.blockchain.wmm.block.bean.BlockBody;

/**
 * @author wangzun
 * 区块请求bean --带publicKey
 * */
public class BlockRequestBody {
    /**
     * 操作人公钥
     * */
    private String publicKey;

    /**
     * 区块体信息

     * */
    private BlockBody blockBody;

    @Override
    public String toString() {
        return "BlockRequestBody{" +
                "publicKey='" + publicKey + '\'' +
                ", blockBody=" + blockBody +
                '}';
    }
    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public BlockBody getBlockBody() {
        return blockBody;
    }

    public void setBlockBody(BlockBody blockBody) {
        this.blockBody = blockBody;
    }
}
